home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / pascal / eventq.exe / SCRIPT.SCR < prev   
Text File  |  1991-07-13  |  3KB  |  81 lines

  1. ; see the comments at the end of the file for information on the syntax of
  2. ; this script file.
  3. T 250
  4. K kbAltF
  5. K O
  6. K S
  7. K C
  8. K R
  9. K D
  10. K E
  11. K M
  12. K O
  13. W 2000
  14. K .
  15. K P
  16. K A
  17. K S
  18. K kbEnter
  19. W 2000
  20. T 500
  21. K kbDown
  22. K kbDown
  23. K kbDown
  24. W 1000
  25. K kbPgDn
  26. K kbPgDn
  27. W 1000
  28. K kbPgUp
  29. W 2000
  30. K kbAltSpace
  31. K l
  32. K kbDown
  33. K kbDown
  34. K kbDown
  35. W 2000
  36. K kbUp
  37. K kbAltF3
  38. W 2000
  39. K kbAltF3
  40. K kbAltF
  41. K x
  42. ;*****************************************************************************
  43. ; Each line of the script file is of the form:
  44. ;
  45. ;   COMMAND [optional space] PARAMETER
  46. ;
  47. ; where COMMAND is a single character from the set { K k T t W w }. Lines
  48. ; which begin with any other character are ignored. Each command character is
  49. ; followed by an optional space and a parameter, the definition of which
  50. ; varies according to the command. The commands and allowable parameters are
  51. ; as follows:
  52. ;
  53. ; T t  This command sets the default delay time between commands read from
  54. ;      the script file. The parameter is the time value in milliseconds.
  55. ;      Since the script demo uses the DOS time-of-day function to measure
  56. ;      delays, the actual time resolution is on the order of 1/18 second.
  57. ;      This command may be issued as often as desired; the default delay time
  58. ;      remains in effect until the next T command is encountered.
  59. ;
  60. ; W w  This command causes a one-time delay, with the time again given in
  61. ;      milliseconds. Note that this delay is ADDED to the current default
  62. ;      delay time. This command is useful for pausing the action of a script.
  63. ;
  64. ; K k  This command inserts a single keystroke into the event queue. The
  65. ;      parameter can be a single ASCII character (other than a space); that
  66. ;      character is inserted into the event queue. The ^ form of control
  67. ;      character representation may be used to insert control characters into
  68. ;      the event queue, or the # construct may be used to insert any ASCII
  69. ;      character into the event queue. For example, "K ^G" inserts a
  70. ;      control-G, while "K #36" inserts a dollar sign. Use "K #32" to insert
  71. ;      a space into the event queue. In addition to the above, the kbXXXX
  72. ;      constants defined in the Turbo Vision manual may be used to insert
  73. ;      special key codes into the event queue. For example 'K kbAltF' inserts
  74. ;      an Alt-F into the event queue. Any of the kbXXXX codes (except
  75. ;      kbNoKey) may be used.
  76. ;
  77. ; Any syntax errors in a T or W command result in the command being ignored.
  78. ; A syntax error in a K command results in an evNothing event being inserted
  79. ; into the event queue.
  80. ;*****************************************************************************
  81.